All Functions of Week 3

arrange

{dplyr}

Sort values of data frame according to a variable/combination of variables

seq

{base}

Create a sequence

library

{base}

Load an R package

read.csv

{utils}

Read a csv file to data frame. Specify stringsAsFactors = FALSE to keep all string columns as characters

binomial

{base}

Family argument in glm()

predict

{stats}

Generate predicted values from model objects

c

{base}

Combine values/vectors into a vector

mutate

{dplyr}

Create new variables

group_by

{dplyr}

Group tibble/data.frame by a factor variable. All further tidyverse operations are performed group-wise

ungroup

{dplyr}

Resolve grouping created with “group_by”

list

{base}

Create a list object

summary

{base}

Obtain summary statistics or detailed regression output

min

{base}

Get minimum of a vector

tibble

{tibble}

A modern data frame from the tidyverse

nrow

{base}

Get number of rows of a data frame

order

{base}

Get indexes that will sort a vector

data.frame

{base}

Create a data.frame from vectors

group_tt

{tinytable}

Grouping in tinytable

max

{base}

Get maximum of a vector

glm

{base}

Fits generalized linear models

pnorm

{base}

Returns the cumulative distribution function (CDF) of the normal distribution

modelsummary

{modelsummary}

Creates regression and data tables

filter

{dplyr}

Filter out rows of a data frame according to logical vector

dnorm

{stats}

Density distribution for the normal distribution

expression

{base}

Used in plots to add symbols to axes

The end!